<template>
  <div class="guideListbox">
    <div v-for="(item, index) in list" :key="index">
      <div class="guideList">
        <router-link :to="item.src">
          <p class="title">{{item.title}}</p>
          <img class="guide-icon" src="../assets/image/arrows-right.png" alt="">
        </router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ['list']
}
</script>
<style>
.guideListbox {
  padding: 0 .35rem;
}
.guideList {
  height: 0.87rem;
  padding: 0 .25rem;
  margin-top: .05rem;
  border-bottom: 0.03rem solid #e9e9eb;
  position: relative;
}
.title {
  font-size: .30rem;
  line-height: 0.87rem;
  color: #292c3B;
}
.guide-icon {
  width: .20rem;
  height: .35rem;
  position: absolute;
  right: .20rem;
  top: .20rem;
}
</style>